package org.study.mybatis.plus.dynamic.boot.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.study.mybatis.plus.dynamic.boot.mapper.Ds2UserMapper;
import org.study.mybatis.plus.dynamic.boot.model.Ds2User;

/**
 * 作用描述
 *
 * @author doveylovey
 * @version v1.0.0
 * @email 1135782208@qq.com
 * @date 2022年07月11日
 */
@Service
public class Ds2UserServiceImpl extends ServiceImpl<Ds2UserMapper, Ds2User> implements Ds2UserService {
    @Autowired
    private Ds2UserMapper ds2UserMapper;

    @Override
    public int truncateTable() {
        ds2UserMapper.truncateTable();
        return 1;
    }
}
